Developer Documentation

QuickTime 4 API Documentation

QuickTime 4 Reference

| Previous | Chapter Contents | Chapter Top | Next |

Implementing the QTVideoOutputGetGWorldParameters Function

Your video output component must also implement the QTVideoOutputGetGWorldParameters . This function is not called by applications or other clients of your component; it is called by the base video output component as part of the implementation of the QTVideoOutputGetGWorld function.

pascal ComponentResult QTVideoOutputGetGWorldParameters (
    QTVideoOutputComponent vo,
    Ptr *baseAddr,
    long *rowBytes,
    CTabHandle *colorTable);

In the baseAddr parameter, your video output component must return the address at which to display pixels. If your component does not display pixels, return 0 for this parameter.

In the rowBytes parameter, your video output component must return the width of each scan line in bytes. If your component does not display pixels, return the width of the current display mode.

In the colorTable parameter, your video output component must return the color table to be used. If your component does not use a color table, return nil .


© 1999 Apple Computer, Inc.

| Previous | Chapter Contents | Chapter Top | Next |